package com.goudan.demo.schedule.common;

import com.xxl.job.core.handler.IJobHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 调度通用处理类
 */
public abstract class BaseBatch<T> extends IJobHandler {

    protected Logger logger = LoggerFactory.getLogger(this.getClass());

    protected Integer getPageSize(){
        return 500;
    }


    @Override
    public void execute() throws Exception {
        long startTime = System.currentTimeMillis();
    }
}
